package com.gitee.feizns.itrip.personal.auth.service.exception;

/**
 * 激活码异常
 * @author feizns
 * @since 2018/12/28 0028
 */
public class ActivationException extends AuthException {

    /**
     * 激活码已过期
     */
    public static final String ACTIVATION_CODE_HAS_EXPIRED = "31001";

    /**
     * 激活码不存在
     */
    public static final String ACTIVATION_CODE_DOES_NOT_EXIST = "31002";

    public ActivationException(String errorCode, String message) {
        super(errorCode, message);
    }

    public ActivationException(String errorCode, String message, Throwable e) {
        super(errorCode, message, e);
    }

}
